# -*- coding: utf-8 -*-
# @日期    : 2020/12/14 11:57
# @作者  : 万方名
# @FileName: 正则表达式.py

import re

content = 'Hello 123 4567 World_This is a Regex Demo'
print(len(content))
result = re.match('^Hello\s\d\d\d\s\d{4}\s\w{10}', content)
print(result)
print(result.group())
print(result.span())